package org.proddevplm.dao.data.blocks;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

/**
 * Global identifier
 */
@XStreamAlias("identifier")
public class Identifier {

    /** Identifier */
    @XStreamAlias("id")
    protected String id;

    public String getId() {
        if (id == null) {
            throw new RuntimeException("Element was not initialized properly. Please use the factory");
        }
        return id;
    }
}
